home *** CD-ROM | disk | FTP | other *** search
/ CSi Master: Ableton Live 5 / CSi Master: Ableton Live 5.iso / pc / rsrc / locrsrc / cstshared.cst / 00006_movieRewindDown, movieRewindUp.ls < prev    next >
Encoding:
Text File  |  2005-07-28  |  641 b   |  34 lines

  1. on movieRewindDown
  2.   
  3.   -- puppetSound "PSM text button beep"
  4.   set the member of sprite 15 to member "rewind on"
  5.   
  6.   case (the name of member (the member of sprite 32)) of
  7.     "QT pause": 
  8.       nothing
  9.     "QT play": 
  10.       set the castNum of sprite 32 to the number of cast "QT pause"
  11.   end case
  12.   
  13.   updateStage
  14.   
  15.   repeat while soundBusy(1)
  16.     nothing
  17.   end repeat
  18.   
  19.   if the optiondown then
  20.     set the movierate of sprite 46 to -3
  21.   else
  22.     set the movierate of sprite 46 to -2
  23.   end if
  24.   
  25. end
  26.  
  27. on movieRewindUp
  28.   
  29.   set the member of sprite 15 to member "rewind off"
  30.   updateStage
  31.   
  32.   set the movierate of sprite 46 to 1
  33.   
  34. end